package com.mytx.sso;

import com.alibaba.fastjson.parser.ParserConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableScheduling
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
@EnableTransactionManagement
@EnableAsync
@MapperScan(basePackages = "com.mytx.mapper")
public class MytxServiceSsoApplication {

    public static void main(String[] args) {
        SpringApplication.run(MytxServiceSsoApplication.class, args);
        ParserConfig.getGlobalInstance().addAccept("com.mytx.pojo.");
    }
}
